<!DOCTYPE html>
<html>
<head>

<title>查看详情</title> #parse("sys/header.html")

</head>
<body>
	<div id="autoTender">
		<div class="panel panel-primary" id = "borrow_info">
			<div class="grid-btn panel-body" >
            <form class="form-horizontal"  role="form"  style="width: auto " >
					<div class="form-group"  >
						<label class="col-md-1 control-label">项目名称:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left">{{xiangmumingcheng}}</div>
						<label class="col-md-1 control-label">预期年化利率:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left" >{{yuqinianhualilv}}</div>
					</div>
					<div class="form-group"  >
						<label class="col-md-1 control-label">投资期限:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left" >{{touziqixian}}</div>
						<label class="col-md-1 control-label">还款方式:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{huankuanfangsi}}</div>
					</div>
					<div class="form-group"  >
						<label class="col-md-1 control-label">投资金额:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{touzijine}}</div>
						<label class="col-md-1 control-label">投资时间:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{touzishijian}}</div>
					</div>
					<div class="form-group"  >
						<label class="col-md-1 control-label">预计收益:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{yujishouyi}}</div>
						<label class="col-md-1 control-label">累计收益:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{leijishouyi}}</div>
					</div>
					<div class="form-group"  >
						<label class="col-md-1 control-label">状态:</label>
						<div class="col-md-1 control-label" style="width: 300px;text-align: left"  >{{zhuangtai}}</div>
					</div>
				</form>
			</div>
		</div>

		<div id="tabs" v-show="tabsShow">
			<!--表格-->
			<div class="panel panel-primary">
				<div class="panel-body">
					<table id="jqGrid"></table>
					<div id="jqGridPager"></div>
				</div>
			</div>
		</div>
		<input type="hidden" id="coupon_id" />
		<script>
			function getUrlParam(name) {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
				console.log(window.location.search)
				var r = window.location.search.substr(1).match(reg); //匹配目标参数
				if (r != null)
					return unescape(r[2]);
				return null; //返回参数值
			}
			var coupon_id = getUrlParam("id");
			var setPrams = function() {
				$("#coupon_id").val(coupon_id)
			};
			$(function() {
				setPrams();
				$('#myTab li:eq(0) a').tab('show');
			});
		</script>
		<script
			src="${rc.contextPath}/js/customerService/viewCouponDetail.js?_${date.systemTime}"></script>
		<script src="${rc.contextPath}/js/formatter.js?_${date.systemTime}"></script>
		<script language="javascript" type="text/javascript"
			src="${rc.contextPath}/statics/plugins/My97DatePicker4.7.2/WdatePicker.js"></script>
	</div>
</body>
</html>